package com.xiaoming.backend.dao.mapper;

import com.xiaoming.backend.entity.db.po.WasteCategoryPO;
import com.xiaoming.backend.entity.db.example.WasteCategoryPOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface WasteCategoryPOMapper {
    long countByExample(WasteCategoryPOExample example);

    int deleteByExample(WasteCategoryPOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WasteCategoryPO row);

    int insertSelective(WasteCategoryPO row);

    List<WasteCategoryPO> selectByExampleWithRowbounds(WasteCategoryPOExample example, RowBounds rowBounds);

    List<WasteCategoryPO> selectByExample(WasteCategoryPOExample example);

    WasteCategoryPO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") WasteCategoryPO row, @Param("example") WasteCategoryPOExample example);

    int updateByExample(@Param("row") WasteCategoryPO row, @Param("example") WasteCategoryPOExample example);

    int updateByPrimaryKeySelective(WasteCategoryPO row);

    int updateByPrimaryKey(WasteCategoryPO row);
}